public class Test {
    public static void main(String[] args) {
        MyLinkedList myLinkedList=new MyLinkedList();
        //myLinkedList.addFirst(1);
        //myLinkedList.addFirst(2);
        //myLinkedList.addFirst(3);
        //myLinkedList.addFirst(4);
        myLinkedList.addLast(1);
        myLinkedList.addLast(1);
        myLinkedList.addLast(1);
        myLinkedList.addLast(4);
        myLinkedList.disPlay();
        //myLinkedList.addIndex(1,6);
        //myLinkedList.disPlay();
        //System.out.println();
        //myLinkedList.removeAllKey(1);
        //myLinkedList.clear();
        myLinkedList.disPlay();

    }
}
